package net.lab1024.sa.admin.module.business.yct.ycttzq.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 听诊器用户成员 新建表单
 *
 * @Author zhangben
 * @Date 2024-10-10 13:24:57
 * @Copyright 20241010
 */

@Data
public class UserProfileAddForm {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "主键 不能为空")
    private Integer id;

    @Schema(description = "账号ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "账号ID 不能为空")
    private Integer userId;

    @Schema(description = "性别 1男 2女", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "性别 1男 2女 不能为空")
    private Integer gender;

    @Schema(description = "身高cm", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "身高cm 不能为空")
    private Integer height;

    @Schema(description = "体重kg", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "体重kg 不能为空")
    private Integer weight;

    @Schema(description = "地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "地址 不能为空")
    private String address;

    @Schema(description = "0正常 1删除", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "0正常 1删除 不能为空")
    private Integer isDel;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "创建时间 不能为空")
    private LocalDateTime createTime;

    @Schema(description = "修改时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "修改时间 不能为空")
    private LocalDateTime updateTime;

}